<div class="navbar-default sidebar" role="navigation">
    <div class="sidebar-nav navbar-collapse">
        <ul class="nav" id="side-menu">  <!--菜单列表-->
            <li><a href="/"><i class="fa fa-home fa-fw"></i>控制面板</a></li>
            <li data="menu_1" {% if request.COOKIES.menu == "menu_1" %} class="active" {% endif %}> <!--用户管理-->
                <a href="#"><i class="fa fa-user fa-fw" ></i>用户管理<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level  collapse {% if request.COOKIES.menu == "menu_1" %} in {% endif %}">
                    <li>
                        {% if perms.auth.view_user_list %}
                        <a href="/user/userlist/" class="menu-link {% if request.COOKIES.menu_click == "menu-click-1" %} active {% endif %}" data="menu-click-1" id="menu-userlist">用户</a>
                        {% endif %}
                        {% if perms.auth.view_group_list %}
                        <a href="/group/list/" class="menu-link {% if request.COOKIES.menu_click == "menu-click-2" %} active {% endif %}" data="menu-click-2" id="menu-userlist">用户组</a>
                        {% endif %}
                    </li>
                </ul>
            </li> <!--用户管理 end-->

            <li data="menu_2" {% if request.COOKIES.menu == "menu_2" %}  class="active" {% endif %}><!--资产平台-->
                <a href="#" ><i class="fa fa-database fa-fw"></i>资源管理<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level collapse" >
                    <li class="">
                        <a href="/server/list/" class="menu-link" data="menu-click-3" id="menu-server-manage">服务器管理</a>
                    </li>
                    <li>
                        <a href="/product/manage/" class="menu-link" data="menu-click-4" id="menu-product-manage">业务线管理</a>
                    </li>
                </ul>
            </li> <!--CMDB资产平台结束-->

            <li data="menu_3" {% if request.COOKIES.menu == "menu_3" %} class="active" {% endif %}><!--代码管理-->
                <a href="#" ><i class="fa fa-file-code-o fa-fw"></i>监控配置<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level collapse" >
                    <li>
                        <a href="/monitor/zabbix/hostrsync/" data="menu-click-5" class="menu-link">同步主机到zabbix</a>
                    </li>
                    <li>
                        <a href="/monitor/zabbix/linktemplate/" data="menu-click-6" class="menu-link">模板绑定</a>
                    </li>
                </ul>
            </li> <!--代码管理结束-->




        </ul><!--菜单列表结束-->

    </div><!--sidebar-collapse end -->
</div><!--navbar-static-side 左边菜单结束 -->
